package BoletinSwing;

import java.awt.*;
import javax.swing.*;


public class Ex30resueltoAroa {
		
		JFrame f = new JFrame("Ejercio 30");
		JButton b1 = new JButton("Boton uno");
		JButton b2 = new JButton("Boton dos");
		JLabel jl = new JLabel ("Hola");
		
		public void montarFrame(){
		
		f.setLayout(new FlowLayout());
		f.add(b1);
		f.add(b2);
		f.add(jl);
		f.setSize(300,200);
		f.setVisible(true);
		f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	}
	
	
	public static void main(String[] args) {
	       	
	    	Ex30resueltoAroa problem = new Ex30resueltoAroa();
			problem.montarFrame();
	  }
}
